import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'

export default defineConfig({
    plugins: [uni()],
    resolve: {
        alias: {
            '@': '/src'
        }
    },
    optimizeDeps: {
        include: ['vue', '@dcloudio/uni-h5', '@dcloudio/uni-mp-vue']
    },
    build: {
        rollupOptions: {
            external: [],
            output: {
                manualChunks: undefined
            }
        }
    }
})

